home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Bus / A / AciusTN8-92.cpt / AciusTN8-92 / GraphicalButtonsƒ / ButtonPkg-US / ButtonPackage.Ext.rsrc / 4Dte_26012 < prev    next >
Text File  |  1992-10-10  |  625b  |  12 lines

  1. This procedure sets the default parameters of buttons titles.
  2.  
  3. The parameters are :
  4. - number of characters to skip in external area name to give title. If you pass 3, the button of the external area "gb_OK" will be named "OK". If you pass a negative value, the title of the button will be a null string.
  5. - Font number
  6. - Size
  7. - Style
  8. The font number may be returned by bp_FontNumber(TheFontName).
  9.  
  10. Note : If you pass -1 in one of the parameters font, size or style, the previous value will be kept.
  11.  
  12. Written by François Marchal, © ACI 1991. Source Code in MPW Pascal and complete explanations in ACI Technical Note 23, May 91